<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>工作进程</title>
</head>
<body>

</body>
<script>
  const { ipcRenderer } = require('electron')
  // 监听来自主进程的信息
  ipcRenderer.on('message-from-main', (event, arg) => {
    console.info('arg', arg)
  })
</script>
</html>
